#pragma once
#include "Calender.h"
#include "E_Meeting.h"
#include <vector>
#include <string>

using namespace std;


class E_Calender: public Calender {
public:
	E_Calender(void);
	~E_Calender(void);
	E_Calender(const E_Calender& calender);
	const E_Calender& operator=(const E_Calender& calender);

	// set a new appointment in the calender
	// return true iff the operation passed
	bool addMeeting(int day, float startTime, float endTime, string& subject,const vector<string> &people);



	// copy a meeting to a specified time
	// return true iff the operation passed
	virtual	bool copyMeeting(const Meeting& oldm, int newDay, float newTime);

private:
	// we lower the visibility of this function so users don't call it - it does not conform to our implementation
	bool addMeeting(int day, float startTime, float endTime, string& subject);
};

